import Vue from 'vue'
import Vuex from 'vuex'
import login from './modules/login.js'
import address from './modules/addressInfo.js'
Vue.use(Vuex); //vue的插件机制

//Vuex.Store 构造器选项
const store = new Vuex.Store({
	modules: {
		login: login,
		address
	},
	state: { //存放状态
	},
	getters: {},
	mutations: {},
	actions: {}
})
export default store